package com.huibei.wateradmin.authority.domain.domain_interface;


import com.huibei.wateradmin.authority.util.RandomId;
import com.huibei.wateradmin.authority.util.StringUtil;

/**
 * Created by wanglinlin on 2016/8/1.
 */
public interface UserIdentifier {
    default String createIndentifier() {
        Long id = Long.parseLong(StringUtil.getRandomNumberSpecifiedLength(2));
        return RandomId.randomFixedLengthId(id,8,false);
    }
    void setIdentifier();
}
